//
//  XLHomeVC.m
//  industry
//
//  Created by xl on 2020/11/12.
//  Copyright © 2020 Haier. All rights reserved.
//

#import "XLHomeVC.h"
#import "XLLoginRegisterVC.h"
#import "AppStartUpConfig.h"
#import "XLHomeViewProtocol.h"

@interface XLHomeVC ()<DTNavigationBarAppearanceProtocol>

@end

@implementation XLHomeVC

- (instancetype)init {
    self = [super init];
    if (self) {
        [self configVIPWithVCPrefix:@"Home"];
    }
    return self;
}

- (void)dealloc {
    XLLog(@"XLHomeVC dealloc")
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    XLSend(self.cView, XLHomeViewProtocol, refreshNewData);
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    XLSend(self.cView, XLHomeViewProtocol, buildView);
}

#pragma mark - DTNavigationBarAppearanceProtocol
- (BOOL)autohideNavigationBar {
    return YES;
}

@end
